import '../core/hi_net.dart';
import '../request/video_detail_request.dart';
import '../../model/video_detail_mo.dart';

class VideoDetailDao{
    static get(String vid) async {
        VideoDetailRequest request = VideoDetailRequest();
        request.pathParams = vid;

        var result = await HiNet.getInstance().fire(request);
        return VideoDetailMo.fromJson(result['data']);
    }
}